package com.fishery.refrigeratory.client;


import com.fishery.entity.Result;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "fishery-base-service")
public interface BaseClient {

    @GetMapping("/base/{baseId}")
    public Result getBaseInfo(@PathVariable(name = "baseId", required = true) String baseId);

}
